package com.example.light.system.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@ApiModel(value = "设备模式映射信息")
@AllArgsConstructor
@NoArgsConstructor
@Data
@TableName("sys_device_mode")
public class deviceMode {
    @ApiModelProperty("映射id")
    @TableId(type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("设备id")
    private Integer deviceId;

    @ApiModelProperty("模式id")
    private Integer modeId;

    @ApiModelProperty("是否开启该模式")
    private Integer modeStatus;
}
